﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreRay
{
    public class StatisticsItemValue : StatisticsItem
    {
        public StatisticsItemValue(string name) : this(name, 0)
        {

        }

        public StatisticsItemValue(string name, float value) : base(name)
        {
            this.Value = value;
        }

        public float Value
        {
            get;
            set;
        }

        public override float ComputeValue()
        {
            return this.Value;
        }
    }
}
